Platform Explorer / Nuxeo Platform LTS 2016 8.10

Operation Document.AddFacet (Add Facet)

Description

Adds the facet to the document. Notice: The operation saves the document.
Operation id Document.AddFacet
AliasesDocument.AddFacet
Category Document
Label Add Facet
Requires
Since

Parameters

Name Description Type Required Default value
facet string yes  

Signature

Inputs document, documents
Outputs document, documents

Implementation Information

Implementation Class Class: org.nuxeo.ecm.automation.core.operations.document.AddFacet
Contributing Component org.nuxeo.ecm.core.automation.coreContrib

JSON Definition

{
  "id" : "Document.AddFacet",
  "aliases" : [ "Document.AddFacet" ],
  "label" : "Add Facet",
  "category" : "Document",
  "requires" : null,
  "description" : "Adds the facet to the document. Notice: The operation saves the document.",
  "url" : "Document.AddFacet",
  "signature" : [ "document", "document", "documents", "documents" ],
  "params" : [ {
    "name" : "facet",
    "description" : null,
    "type" : "string",
    "required" : true,
    "widget" : null,
    "order" : 0,
    "values" : [ ]
  } ]
}